package com.iting.xmldemo.impl.factory;


import com.iting.xmldemo.UserDao;
import com.iting.xmldemo.impl.UserDaoImpl;

/**
 * @author iting Nie
 * @version 1.1
 * @create 2021/11/10
 */
public class StaticFactory {
    public static UserDao getBean(){
        // System.out.println("调用了StaticFactory工厂的静态方法");
        return new UserDaoImpl();
    }
}
